package com.gt.andr.tabactvttest;

import java.util.ArrayList;
import java.util.List;

import android.app.ListActivity;
import android.os.Bundle;
import android.widget.ArrayAdapter;
import android.widget.ListView;
import android.widget.TabHost;

public class List2Activity extends ListActivity {

	// The two views in our tabbed example
	private ListView listView1;

	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);

		// setup list view 1

		// create some dummy strings to add to the list
		List<String> list1Strings = new ArrayList<String>();
		list1Strings.add("List2 11");
		list1Strings.add("List2 212");
		list1Strings.add("List2 13");
		list1Strings.add("List2 14");
		// if i change this to ListStringAdapter, overlapped
		setListAdapter(new ArrayAdapter(this, android.R.layout.simple_list_item_1, list1Strings));
//		setListAdapter(new ListStringArrAdapter(this, R.layout.list_layout, list1Strings));
	}
}
